<?php
include_once dirname(__FILE__)."/../lang/error.php";
include_once dirname(__FILE__)."/../io/rows.php";
include_once dirname(__FILE__)."/../io/db.php";
class votecommend extends rows{
 	function init(){
 		$this->tableName="sn_votecommend";
 		$this->col["vid"]   = new column("vid",dataCheck::INTEGER);
		$this->col["vuid"]   = new column("vuid",dataCheck::INTEGER);
 		$this->col["vartid"]  = new column("vartid",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["vsendip"]  = new column("vsendip",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["vtime"]  = new column("vtime",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["vcontent"]  = new column("vcontent",dataCheck::INTEGER);

 	} 	 	
 }
